LIBOBJ = utils/src
LIBRARY = lib/libcs240utils.a



lib: $(LIBRARY)
$(LIBRARY): utils/obj/CommandRunner.o utils/obj/FileInputStream.o utils/obj/FileSystem.o utils/obj/HTTPInputStream.o utils/obj/StringUtil.o utils/obj/URLInputStream.o utils/obj/HTMLTokenizer.o utils/obj/HTMLToken.o
	ar r lib/libcs240utils.a utils/obj/*.o
utils/obj/CommandRunner.o: utils/src/CommandRunner.cpp utils/include/CommandRunner.h
	g++ -Wall -g  -o utils/obj/CommandRunner.o -c -I utils/include utils/src/CommandRunner.cpp
utils/obj/FileInputStream.o : utils/src/FileInputStream.cpp
	g++ -Wall -g  -o utils/obj/FileInputStream.o -c -I utils/include utils/src/FileInputStream.cpp
utils/obj/FileSystem.o: utils/src/FileSystem.cpp
	g++ -Wall -g  -o utils/obj/FileSystem.o -c -I utils/include utils/src/FileSystem.cpp
utils/obj/HTTPInputStream.o: utils/src/HTTPInputStream.cpp
	g++ -Wall -g  -o utils/obj/HTTPInputStream.o -c -I utils/include utils/src/HTTPInputStream.cpp
utils/obj/StringUtil.o: utils/src/StringUtil.cpp
	g++ -Wall -g  -o utils/obj/StringUtil.o -c -I utils/include utils/src/StringUtil.cpp
utils/obj/URLInputStream.o: utils/src/URLInputStream.cpp
	g++ -Wall -g  -o utils/obj/URLInputStream.o -c -I utils/include utils/src/URLInputStream.cpp
utils/obj/HTMLTokenizer.o: utils/src/HTMLTokenizer.cpp
	g++ -Wall -g  -o utils/obj/HTMLTokenizer.o -c -I utils/include utils/src/HTMLTokenizer.cpp
utils/obj/HTMLToken.o: utils/src/HTMLToken.cpp
	g++ -Wall -g  -o utils/obj/HTMLToken.o -c -I utils/include utils/src/HTMLToken.cpp